package com.jim.director.framework.ioc;

/**
 * author: Jim
 * date: 2024/10/2
 * info:
 */
public class ActorDefinition {
    private Class<?> actorClass;
    private int size = 1;

    public ActorDefinition(Class<?> actorClass){
        this.actorClass = actorClass;
    }

    public ActorDefinition(Class<?> actorClass, int size){
        this.actorClass = actorClass;
        this.size = size;
    }

    public Class<?> getActorClass() {
        return actorClass;
    }

    public void setActorClass(Class<?> actorClass) {
        this.actorClass = actorClass;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }
}
